﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLy_NhaSach
{
    public partial class ThongtinNV : Form
    {
        public ThongtinNV()
        {
            InitializeComponent();
        }

        private void nhanVienBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.nhanVienBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.nhaSachDataSet);

        }

        private void ThongtinNV_Load(object sender, EventArgs e)
        {
            nhanVienBindingSource.DataSource = NhaSachBUS.NhanVienBUS.LoadNhanVien();

        }
    }
}
